package com.tiancheng.onecode.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tiancheng.onecode.entity.Merchant;
import com.tiancheng.onecode.entity.Role;
import com.tiancheng.onecode.model.request.BasePageReq;
import com.tiancheng.onecode.model.response.PageInfo;

/**
 * @Author: kellen
 * @Description: 商户service
 * @Date: create in 2024/12/9 18:21
 */
public interface IRoleService extends IService<Role> {
    /**
     * 角色列表
     * @param params 参数
     * @return
     */
    PageInfo<Role> queryPage(BasePageReq params);

    /**
     * 商户角色
     * @param id
     * @return
     */
    Boolean delete(Long id);
}
